import { Description, Property, Title } from '~/components';
<Title>ValidateField</Title> Type that defines the validation function of a field.Type that defines the validation function of a field.
ValidateField
<Property {...properties.ValidateField} />
export const properties = { ValidateField: { type: { type: 'function', params: [ { name: 'value', type: { type: 'custom', name: 'Maybe', href: '../Maybe', generics: [ { type: 'custom', name: 'FieldValue', href: '../FieldValue' }, ], }, }, ], return: { type: 'custom', name: 'MaybePromise', href: '../MaybePromise', generics: ['string'], }, }, }, };